package com.msmall.base.util;

/**
 * 当使用AJAX请求数据时，此类持有返回的XML文件的所有标签
 * @author Administrator
 *
 */
public class ConstantAjax {
	public static final String RETURN_PRE="<return>";
	public static final String RETURN_SUFF="</return>";
	
	public static final String RESULT_PRE="<result>";
	public static final String RESULT_SUFF="</result>";
	public static final String RESULT_VALUE_FALSE="false";
	public static final String RESULT_VALUE_TRUE="true";
	public static final String RESULT_FALSE=RESULT_PRE+RESULT_VALUE_FALSE+RESULT_SUFF;
	public static final String RESULT_TRUE=RESULT_PRE+RESULT_VALUE_TRUE+RESULT_SUFF;
	
	public static final String CONTENT_PRE="<content>";
	public static final String CONTENT_SUFF="</content>";
	public static final String ITEM_PRE="<item>";
	public static final String ITEM_SUFF="</item>";
	public static final String POSITION_PRE="<position>";
	public static final String POSITION_SUFF="</position>";
	public static final String VALUE_PRE="<value>";
	public static final String VALUE_SUFF="</value>";
	
	/**
	 *<return>
<result>true/false</result>
<content>
	<item>
	<position></position>
	<value></value>
	</item>
<content>
</return>
	 */
}
